package com.example.exam.pojo;


import lombok.Data;

import javax.validation.constraints.NotEmpty;

@Data
public class Booktype {

  private long id;

  @NotEmpty(message= "书的名字不能为空" )
  private String name;

}
